package edu.uwm.universitydb.tests;

import java.util.ArrayList;
import java.util.List;

public class PerformanceTests {

	public PerformanceTests() {
		_tests = new ArrayList<PerformanceTest>();
		_tests.add(new Query1());
		_tests.add(new Query2());
		_tests.add(new Query3());
		_tests.add(new Query4());
		_tests.add(new Query5());
	}

	public List<PerformanceTest> getTests() {
		return _tests;
	}

	public boolean runQuery(int index) {
		return _tests.get(index).execute();
	}
	
	private List<PerformanceTest> _tests;
}
